﻿using System;
using System.Collections.Generic;
using System.Text;
using SH;

namespace MTS
{
	public interface ImtCSSServerCallback : ImtCallback
    {
		const int _classID = 8877;
		const string _interfaceName = "mtCSSServerCallback";

		const int CSSServerGetImageData = 10;
		const int CSSServerGetImageData2 = 11;
		const int CSSServerStorageCapacity = 12;
		const int CSSServerDeleteImage = 13;
		const int CSSServerSaveImage = 14;
		const int CSSServerRecognizeComplete = 15;
		const int CSSServerReconComplete = 16;


		[mtFuncID("CSSServerGetImageData", CSSServerGetImageData)]
		public shErrorCode OnGetImageData( string token,   mtImageRequest req, out mtImageResponse rsp);
		[mtFuncID("CSSServerGetImageData2", CSSServerGetImageData2)]
		public shErrorCode OnGetImageData( string token, List<mtImageRequest> vecReq, out List<mtImageResponse> vecRsp);

		[mtFuncID("CSSServerStorageCapacity", CSSServerStorageCapacity)]
		public shErrorCode OnGetStorageCapacity(string token,  out mtStorageCapacityInfo info);

		[mtFuncID("CSSServerDeleteImage", CSSServerDeleteImage)]
		public shErrorCode OnDeleteImage( string token, mtDeleteImageDemand req,out mtDeleteImageReply rsp);
		
		[mtFuncID("CSSServerSaveImage", CSSServerSaveImage)]
		public shErrorCode OnSaveImage( string token, mtSaveImageRequest req, out mtSaveImageResponse res);
		
		[mtFuncID("CSSServerRecognizeComplete", CSSServerRecognizeComplete)]
		public shErrorCode OnRecognizeComplete( string token,  mtRecognizeComplete  info);
		
		[mtFuncID("CSSServerReconComplete", CSSServerReconComplete)]
		public shErrorCode OnReconComplete( string token,  mtReconComplete  info);
    }


    public interface ImtCSSServer : Imt
    {
		//to sms
		public shErrorCode NotifyStorageComplete( mtStorageComplete info) ;

		public shErrorCode NotifySaveImageResult( mtSaveImageResult info) ;

		public shErrorCode NotifyDeleteImageResult( mtDeleteImageResult info);

	}
}
